//index.js
//获取应用实例
var app = getApp()
Page({
  data: {
    motto: 'Hello World',
    userInfo: {},
    component: {
      coupon: {
        title: '我的优惠券',
        subtitle: '8张优惠券',
        icon: 'arrow.png'
      }
    }
  },
  primary: function(){
    wx.navigateBack()
  }
})
